<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>hrj - Personal Webpage</title>

    <!-- Favicon -->
    <link rel="icon" href="favicon.ico" type="image/x-icon">

    <!-- Google Fonts 国内镜像 -->
    <link href="https://gfonts.aby.pub/css2?family=Montserrat:wght@400;600&family=Poppins:wght@300;400;600&display=swap"
        rel="stylesheet">

    <!-- Font Awesome 国内镜像 -->
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/font-awesome/6.6.0/css/all.min.css">

    <!-- marked.js 国内镜像 -->
    <script src="https://cdn.bootcdn.net/ajax/libs/marked/13.0.2/marked.min.js"></script>
    
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #6e7cdb, #ff4081);
            color: #fff;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            overflow: hidden;
        }

        header {
            text-align: center;
            margin-bottom: 30px;
        }

        header h1 {
            font-size: 3.5em;
            font-weight: 600;
            letter-spacing: 5px;
            text-transform: uppercase;
            margin: 0;
            animation: fadeIn 2s ease-in-out;
            color: #fff;
        }

        header p {
            font-size: 1.2em;
            letter-spacing: 2px;
            opacity: 0.8;
            animation: fadeIn 2s ease-in-out 0.5s;
        }

        .profile-container {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 50px;
            text-align: center;
            gap: 30px;
            animation: fadeIn 2s ease-in-out 1s;
        }

        .profile-pic {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            object-fit: cover;
            border: 4px solid #fff;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .profile-pic:hover {
            transform: scale(1.1);
            box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
        }

        .bio {
            max-width: 500px;
            animation: fadeIn 2s ease-in-out 1.5s;
        }

        .bio h2 {
            font-size: 2.2em;
            margin-bottom: 15px;
            font-weight: 600;
            color: #fff;
        }

        .bio p {
            font-size: 1.1em;
            line-height: 1.8em;
            color: #e0e0e0;
            font-weight: 400;
            opacity: 0.9;
        }

        .contact {
            margin-top: 50px;
            text-align: center;
            animation: fadeIn 2s ease-in-out 2s;
        }

        .contact h2 {
            font-size: 2.5em;
            font-weight: 600;
            color: #fff;
            margin-bottom: 20px;
        }

        .social-links a {
            font-size: 1.5em;
            margin: 0 15px;
            color: #fff;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-links a:hover {
            color: #ff4081;
            transform: scale(1.2);
        }

        footer {
            position: absolute;
            bottom: 20px;
            font-size: 1em;
            color: #e0e0e0;
            text-align: center;
        }

        footer a {
            color: #e0e0e0;
            text-decoration: none;
            font-weight: 600;
        }

        footer a:hover {
            color: #ff4081;
        }

        @keyframes fadeIn {
            0% {
                opacity: 0;
                transform: translateY(20px);
            }

            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            header h1 {
                font-size: 2.8em;
            }

            .profile-container {
                flex-direction: column;
                align-items: center;
            }

            .bio {
                max-width: 400px;
            }

            .social-links a {
                font-size: 1.3em;
                margin: 0 10px;
            }
        }
    </style>
</head>

<body>
    <header>
        <h1>hrj</h1>
        <p>Welcome to my personal space</p>
    </header>

    <div class="profile-container">
        <img src="image/1.jpg" alt="hrj" class="profile-pic">
        <div class="bio">
            <h2>About Me</h2>
            <p>Hello! I'm hrj, a passionate software developer and tech enthusiast. I love building creative solutions,
                solving complex problems, and learning new technologies. My favorite programming languages are Python
                and C++. When I'm not coding, you can find me reading books, gaming, or enjoying outdoor adventures.</p>
        </div>
    </div>

    <div class="contact">
        <h2>Contact Me</h2>
        <div class="social-links">
            <a href="https://gitee.com/he-jerry" target="_blank" aria-label="Gitee">
                <i class="fab fa-gitee"></i> Gitee
            </a>
            <a href="https://github.com/Jerry1-cyber" target="_blank" aria-label="GitHub">
                <i class="fab fa-github"></i> GitHub
            </a>
            <a href="https://blog.csdn.net/jerryhe_com?spm=1010.2135.3001.5343" target="_blank" aria-label="CSDN">
                <i class="fab fa-csdn"></i> CSDN
            </a>
            <!-- Add a new link to the blog page -->
            <a href="blog.html" target="_blank" aria-label="Personal Blog">
                <i class="fab fa-blog"></i> Blog
            </a>
        </div>
    </div>

    <footer>
        <p>&copy; 2025 hrj. <a href="mailto:heruijie@stu.scu.edu.cn">Contact me via email</a></p>
    </footer>

    <script>
        // JavaScript to load the markdown file
        function loadMarkdownFile(url) {
            fetch(url)
                .then(response => response.text())
                .then(markdown => {
                    const content = marked(markdown);  // Convert Markdown to HTML
                    document.getElementById("blog-content").innerHTML = content;
                })
                .catch(error => console.error('Error loading markdown file:', error));
        }
    </script>
</body>

</html>